package model;

public class CategorieChambre implements Comparable<Integer>{
	private String categorie,
					description;
	private int IDCat;
	
	public CategorieChambre(){
		categorie = "aucune";
		description = "aucune";
		IDCat = 0;
	}
	
	public CategorieChambre(String cat, String desc, int id) {
		this.categorie = cat;
		this.description = desc;
		this.IDCat = id;
	}
	
	public int getID(){
		return IDCat;
	}
	
	public String getCategorie() {
		return categorie;
	}
	
	public String getDescription() {
		return description;
	}

	@Override
	public int compareTo(Integer IDCat) {
		return this.IDCat - IDCat;
	}
}
